Hexecute (Hexacutie Pie :p ) 3.0.0 RC7 v2 source documentation

******

Don't bitch about bugs in the code, mainly because I don't have time
to fix (or find) any of them.  If you have fixed a bug though, please
send the code in and i'll put it in the official release that I'll have
for download on my site.  I'll be working on the code intermittantly as
I find bugs, or have bugs pointed out to me.

******

This code is ass.  That's right, it's horrible, let this be a
lesson to everyone who thinks that they can just hack out a 
relatively large project and just "let it flow".  Well that's
what I did, and it worked GREAT, until I started work and had
no time to maintain the code.  When I went back to it, I just
wasn't able to get back in to it.  So instead of letting the
program die, I figured I'd release it to the people out there
who want another crappy hex editor :)  

Files:

About.cpp - the window process functions for the about box
	and the splash screen.

BankSplit.cpp - the window process for the file splitting dialog
	and the splitting code itself.

CalcPosition.cpp - AFAIK this is never used in the program any 
	more.  It was ass anyway.

ClipBoard.cpp - contains CopyAsText, CopyAsCharArray, CopyAsShortArray,
	CopyAsIntArray, CopyString.  If you've used the program, 
	you know what these do.

CloseFiles.cpp - CloseFiles updates the window title when the file
	is closed, was originally going to have more functions in
	it, but they weren't needed, thus a ~30 line file.

CodePages.cpp - the code that handles the initialization of i18n
	stuff, fonts, and things.  It's ass, but it seems to work
	okay.

ComboBox.cpp - code to initialize combo boxes to certain strings
	and whatnot when the find dialog is used. ( i think )

Conversions.cpp - Miscellaneous shit, if it gets converted, it's
	probably getting converted here.  Oh, and GetFileByte()
	is in here for some reason, must have been something I did
	at like 5am.

DataWinProc.cpp - the window process for the main data window, handles
	all sorts of stuff.

DumpProc.cpp - This is the file that holds WinProc for the script
	dumper and the script dumper itself.

ExpandFileProc.cpp - the window process for the file expansion dialog
	and the file expanding code itself.

FindProc.cpp - the window process for the find dialog. and the
	code for jumping to a specific address.

Globals.cpp - this is ass. It's here because I put it here a really
	long time ago and now it's actually needed, it's quite 
	pointless though.

Hexecute.exe.manifest - the manifest used by windows XP to get the
	new control theming.

Hexecute.rc - Hexecute resource file.

hexecute_defines.h - the various macros and #defines for hexecute

hexecute_globals.h - all function declarations and variable declarations.

hexecute_types.h - various typedef'd stuff

hexelogo-final.bmp - the hexecute splash screen by takashi.

	You can see some of his other art at 
	** http://takashi.lfx.org ***

History.cpp - this is the undo/redo code, except that it's ass because 
	I never implemented it the way I wanted.  Hey, i don't ever USE
	undo anyway.

Initialize.cpp - initialization code for hexecute, including >NT4 check,
	among other things.
InsertProc.cpp - the window process for the script insertion dialog. and the
	code for the insertion.

main.cpp - WinMain

Menu.cpp - the program menu highlighting/greying.

OpenFile.cpp - OpenFile() [ 2 versions of it for various uses] also has
	OpenTableFile.

Output.cpp - this holds the output code for the various settings
	of QWORD/DWORD/SHORT/BYTE data groupings of hex.

Paint.cpp - this is the functions that handles (basically) the
	WM_PAINT message of the data window.  It has 4 functions
	when it really only needs 2 with modifications I made, but
	once again, it goes back to not remembering all the code.

PreferencesProc.cpp - the window functions for the preferences dialog
	property sheets and property sheet code.

README.txt - this file

Registry.cpp - all the functions that are used to read/write
	hexecute's settings from the registry are here.

RemakeFonts.cpp - this remakes the fonts of the various codepages so
	as to maintain some semblance of looking nice.

ResizeWindows.cpp - hmmm... wonder what this does.

resource.h - the vc++ generated header file for the program resources

SaveWork.cpp - SaveWork and SavedTitle are both contained in here, savework
	does various checks about saving the edited file and whatnot.

Searches.cpp - this contains the relative and value search code.

Table.cpp - this holds the entire Table class and a few other
	functions that are useful for table files.   Lots of
	half-assed code in here that I have disabled at the
	moment, all the code that gets called during the actual
	execution works fine AFAIK.  The Table::XInsertionSort()
	and Table::XBubbleSort() functions are in the code simply
	because I didn't feel like commenting them out.  The
	only thing that gets used any more is Table::XHeapSort().

	Subtables are implemented, but are very slow, and are
	basically completely undocumented ( see the intro para-
	graph )

TableEditor.cpp - this works, but I couldn't get the UI the way I wanted 
	it so I completely scratched it from the builds, just reenable
	the menu option to run it.

toolbar.bmp - toolbar icons

WinProc.cpp - this is the window process for the frame window which contains
	the data window and status bar.




